import React from 'react';
import {Icon} from "@alifd/next";

const MyIconFont = (props) => {
    const {type,color,size} = props;
    const IconFont = Icon.createFromIconfontCN({scriptUrl: "//at.alicdn.com/t/c/font_4043952_em1hi9ytkd9.js"})
    return (
            <IconFont  type={type} size={size} style={{cursor:"pointer",color:color}}/>
    );
};

export default MyIconFont